home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
-
- <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0">
-
- <intro>
- <p>Copyright Notice</p>
- <p>Common Business Library 2.0<br/>
- Copyright 1999 Commerce One, Inc.</p>
- <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
- and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
- and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p>
- </intro>
-
- <!--
- Price Check Result
-
- PriceCheckResult is the response to PriceCheckRequest
- Returns the contract price for a list of order items, under a single
- account, offered by a single supplier.
-
- Note: The price that is returned = (unit price with all discounts applied) * (quantity requested)
-
- -->
-
-
- <elementtype name="PriceResultItem">
- <model>
- <sequence>
- <!-- An item: NaturalKey, quote date, quantity -->
- <element type="BaseItemDetail" name="QuotedItem" />
-
- <!-- Contract price for this item -->
- <element type="Price" name="ResultPrice" />
-
- <!-- if filled then there is a business error -->
- <element type="ErrorInfo" name="PriceErrorInfo" occurs="?" />
- </sequence>
- </model>
- </elementtype>
-
- <!-- container for PriceResultItem -->
- <elementtype name="ListOfPriceResultItem">
- <model>
- <element type="PriceResultItem" occurs="+" />
- </model>
- </elementtype>
-
- <elementtype name="PriceCheckSummary">
- <model>
- <sequence>
- <!-- If there are item errors present in the list of items
- this will indicate the number of errors. Otherwise
- this value will be 0 -->
- <element type="int" name="PriceCheckItemErrors" />
-
- <!-- if filled then there is an error -->
- <element type="ErrorInfo" name="PriceCheckSummaryErrorInfo" occurs="?" />
- </sequence>
- </model>
- </elementtype>
-
- <elementtype name="PriceCheckResult">
- <model>
- <sequence>
- <element type="PriceCheckHeader" />
-
- <!-- Contract pricing for all order items -->
- <!-- The ordering of items returned is guaranteed to match the ordering -->
- <!-- of items in the PriceCheckRequest. -->
- <element type="ListOfPriceResultItem" occurs="?" />
-
- <!-- info about the number of errors in the result -->
- <element type="PriceCheckSummary" />
- </sequence>
- </model>
-
- </elementtype>
-
- </schema>
-